package com.frxuexi.lib_base.net

import com.frxuexi.lib_base.entity.Res
import com.frxuexi.lib_base.entity.UserBean
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.POST
import retrofit2.http.Query

interface ApiService {

    @POST("/api/user/login")
    suspend fun login(@Query("username")username:String,@Query("password")password:String):Res<UserBean>
}